home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
windows
/
ptw204.exe
/
KEYBOARD.SRC
< prev
next >
Wrap
Text File
|
1993-03-26
|
7KB
|
159 lines
PopTerm/NVT Keyboard Map File
March 26, 1993
Copyright (c) 1993 Rational Data Systems, Inc. and Redwood Technologies
! end of preface, this rest of this line is ignored
;
;==========================================================================
; hex numbers start with '0x..', octal with '0', otherwise its decimal.
;==========================================================================
;Keyboard codes: 3=Swiss/French; 4=Swiss/German; 5=Canadian/English;
; 6=Katakana; 7=Italian; 8=Canadian/French; 9=US; A=UK; B=French;
; C=German; D=Swedish/French; E=Spanish; F=Danish/Norwegian
;
keyboard=9
;==========================================================================
;
; ******* Begin Function Keys *******
;
; F1-F4 = PF1-PF4
;
0x3b 0x1b 0x4f 0x50 ;F1 - Esc OP
0x3c 0x1b 0x4f 0x51 ;F2 - Esc OQ
0x3d 0x1b 0x4f 0x52 ;F3 - Esc OR
0x3e 0x1b 0x4f 0x53 ;F4 - Esc OS
;
; F6-F10 = VT220 F6-F12
;
0x40 0x1b 0x5b 0x31 0x37 0x7e ;F6 - Esc [17~
0x41 0x1b 0x5b 0x31 0x38 0x7e ;F7 - Esc [18~
0x42 0x1b 0x5b 0x31 0x39 0x7e ;F8 - Esc [19~
0x43 0x1b 0x5b 0x32 0x30 0x7e ;F9 - Esc [20~
0x44 0x1b 0x5b 0x32 0x31 0x7e ;F10 - Esc [21~
0x85 0x1b 0x5b 0x32 0x33 0x7e ;F11 - Esc [23~
0x86 0x1b 0x5b 0x32 0x34 0x7e ;F12 - Esc [24~
;
; Shift-F1-F10 = VT220 F11-F20
;
0x54 S 0x1b 0x5b 0x32 0x33 0x7e ;Shift-F1 - Esc [23~
0x55 S 0x1b 0x5b 0x32 0x34 0x7e ;Shift-F2 - Esc [24~
0x56 S 0x1b 0x5b 0x32 0x35 0x7e ;Shift-F3 - Esc [25~
0x57 S 0x1b 0x5b 0x32 0x36 0x7e ;Shift-F4 - Esc [26~
0x58 S 0x1b 0x5b 0x32 0x38 0x7e ;Shift-F5 - Esc [28~
0x59 S 0x1b 0x5b 0x32 0x39 0x7e ;Shift-F6 - Esc [29~
0x5a S 0x1b 0x5b 0x33 0x31 0x7e ;Shift-F7 - Esc [31~
0x5b S 0x1b 0x5b 0x33 0x32 0x7e ;Shift-F8 - Esc [32~
0x5c S 0x1b 0x5b 0x33 0x33 0x7e ;Shift-F9 - Esc [33~
0x5d S 0x1b 0x5b 0x33 0x34 0x7e ;Shift-F10 - Esc [34~
;
; Ctrl-F1-F6 = VT220 Find, Insert, Remove, Select, Prev Scrn, Next Scrn
;
0x5e C 0x1b 0x5b 0x31 0x7e ;Ctrl-F1 - Esc [1~
0x5f C 0x1b 0x5b 0x32 0x7e ;Ctrl-F2 - Esc [2~
0x60 C 0x1b 0x5b 0x33 0x7e ;Ctrl-F3 - Esc [3~
0x61 C 0x1b 0x5b 0x34 0x7e ;Ctrl-F4 - Esc [4~
0x62 C 0x1b 0x5b 0x35 0x7e ;Ctrl-F5 - Esc [5~
0x63 C 0x1b 0x5b 0x36 0x7e ;Ctrl-F6 - Esc [6~
;
; Shift-Control-F1-F6 = Macros
;
0x5e SC *1 ;Macro-1
0x5f SC *2 ;Macro-2
0x60 SC *3 ;Macro-3
0x61 SC *4 ;Macro-4
0x62 SC *5 ;Macro-5
0x63 SC *6 ;Macro-6
;
; Move screen right or left when in 132 col mode.
;
0x73 C *7 ;Move screen left
0x74 C *8 ;Move screen right
;
; Alt-F1-F10 = Session Change
0x68 A *11 ;Session 1
0x69 A *12 ;Session 2
0x6a A *13 ;Session 3
0x6b A *14 ;Session 4
0x6c A *15 ;Session 5
0x6d A *16 ;Session 6
0x6e A *17 ;Session 7
0x6f A *18 ;Session 8
0x70 A *19 ;Session 9
0x71 A *20 ;Session 10
;
; ******* Begin keypad Keys ********
;
; Arrow keys
;
0x48 0x1b 0x5b 0x41 ;Up - Esc [A
0x50 0x1b 0x5b 0x42 ;Down - Esc [B
0x4d 0x1b 0x5b 0x43 ;Right - Esc [C
0x4b 0x1b 0x5b 0x44 ;Left - Esc [D
;
; Keypad Application Mode Keys (NumLock-On only)
;
=0x30 %0x52 KN 0x1b 0x4f 0x70 ;0 - Esc Op
=0x31 %0x4f KN 0x1b 0x4f 0x71 ;1 - Esc Oq
=0x32 %0x50 KN 0x1b 0x4f 0x72 ;2 - Esc Or
=0x33 %0x51 KN 0x1b 0x4f 0x73 ;3 - Esc Os
=0x34 %0x4b KN 0x1b 0x4f 0x74 ;4 - Esc Ot
=0x35 %0x4c KN 0x1b 0x4f 0x75 ;5 - Esc Ou
=0x36 %0x4d KN 0x1b 0x4f 0x76 ;6 - Esc Ov
=0x37 %0x47 KN 0x1b 0x4f 0x77 ;7 - Esc Ow
=0x38 %0x48 KN 0x1b 0x4f 0x78 ;8 - Esc Ox
=0x39 %0x49 KN 0x1b 0x4f 0x79 ;9 - Esc Oy
;
=0x2d %0x4a KN 0x1b 0x4f 0x6d ;- - Esc Om
=0x2a %0x37 KN 0x1b 0x4f 0x6c ;* - Esc Ol
=0x2e %0x53 KN 0x1b 0x4f 0x6e ;. - Esc On
=0x2b %0x4e KN 0x1b 0x4f 0x4d ;+ - Esc OM
;
0x48 KN 0x1b 0x4f 0x41 ;Up - Esc OA
0x50 KN 0x1b 0x4f 0x42 ;Down - Esc OB
0x4d KN 0x1b 0x4f 0x43 ;Right - Esc OC
0x4b KN 0x1b 0x4f 0x44 ;Left - Esc OD
;
; Now remap the numlock-on keypad versions of these keys back to normal
;
=0x30 %0x52 N 0x30 ;0 numlock-keypad
=0x31 %0x4f N 0x31 ;1 numlock-keypad
=0x32 %0x50 N 0x32 ;2 numlock-keypad
=0x33 %0x51 N 0x33 ;3 numlock-keypad
=0x34 %0x4b N 0x34 ;4 numlock-keypad
=0x35 %0x4c N 0x35 ;5 numlock-keypad
=0x36 %0x4d N 0x36 ;6 numlock-keypad
=0x37 %0x47 N 0x37 ;7 numlock-keypad
=0x38 %0x48 N 0x38 ;8 numlock-keypad
=0x39 %0x49 N 0x39 ;9 numlock-keypad
;
=0x2d %0x4a N 0x2d ;- numlock-keypad
=0x2a %0x37 N 0x2a ;* numlock-keypad
=0x2e %0x53 N 0x2e ;. numlock-keypad
=0x2b %0x4e N 0x2b ;+ numlock-keypad
;
; Remap the numlock-on keypad shifted versions of these keys
; back to previous values
;
=0x30 %0x52 NS 0x1b 0x5b 0x32 0x7e ;0 - Esc [2~
=0x32 %0x50 NS 0x1b 0x5b 0x42 ;2 - Esc [A
=0x33 %0x51 NS 0x1b 0x5b 0x35 0x7e ;3 - Esc [5~
=0x34 %0x4b NS 0x1b 0x5b 0x44 ;4 - Esc [D
=0x36 %0x4d NS 0x1b 0x5b 0x43 ;6 - Esc [C
=0x38 %0x48 NS 0x1b 0x5b 0x41 ;8 - Esc [B
=0x39 %0x49 NS 0x1b 0x5b 0x36 0x7e ;9 - Esc [6~
;
=0x2d %0x4a NS 0x2d ;- numlock-keypad
=0x2a %0x37 NS 0x2a ;* numlock-keypad
=0x2e %0x53 NS 0x1b 0x5b 0x33 0x7e ;. numlock-keypad (Remove key)
=0x2b %0x4e NS 0x2b ;+ numlock-keypad
;
; VT220: Page Up = Prev Scrn
; Page Down = Next Scrn
; Ins = Insert
; Del = Remove
;
0x49 0x1b 0x5b 0x35 0x7e ;Page Up - Esc [5~
0x51 0x1b 0x5b 0x36 0x7e ;Page Dn - Esc [6~
0x52 0x1b 0x5b 0x32 0x7e ;Insert - Esc [2~
0x53 0x1b 0x5b 0x33 0x7e ;Del - Esc [3~